package com.black.app.mapper.my;

import com.black.app.domain.my.AppMyOrderAftersale;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.black.app.domain.req.my.myorders.SysOrderAfterSaleQueryReq;
import com.black.app.domain.resp.my.myorders.AppOrderAfterSaleResp;
import com.black.app.domain.resp.my.myorders.AppOrderAftersaleDetailsResp;
import com.black.app.domain.resp.my.myorders.SysAfterSaleResp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author admin
 * @description 针对表【app_my_order_aftersale(订单售后表)】的数据库操作Mapper
 * @createDate 2024-11-01 15:23:40
 * @Entity com.black.app.domain.AppMyOrderAftersale
 */
public interface AppMyOrderAftersaleMapper extends BaseMapper<AppMyOrderAftersale> {

    // 后台订单售后分页查询
    List<SysAfterSaleResp> paginationQuery(@Param("req") SysOrderAfterSaleQueryReq req);
    // 用户售后订单列表
    List<AppOrderAfterSaleResp> aftersaleList(@Param("userId") Integer userId);
    // 根据id查询用户售后订单详情
    AppOrderAftersaleDetailsResp findOrderAftersaleDetailsById(@Param("id") Integer id);
}




